package edu.nwpu.pojo;

public class RecvInfo {

    /**
     * 收货信息编号，必须唯一
     * delivery information's id, must unique
     */
    private Long id;
    
    /**
     * 收货人姓名
     * receiver name
     */
    private String name;

    /**
     * 性别，只能是 男 或 女
     * gender, male or female only
     */
    private String gender;

    /**
     * 收货人电话
     */
    private String phoneNo;

    /**
     * 收货地址
     * delivery address
     */
    private String address;

    /**
     * 所属用户id
     */
    private Long userId;

    public RecvInfo() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    @Override
    public String toString() {
        return "RecvInfo{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", address='" + address + '\'' +
                ", id=" + id +
                ", phoneNo=" + phoneNo +
                ", userId=" + userId +
                '}';
    }
}
